<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<link href="/resource/bootstrap-4.3.1/css/bootstrap.css" rel="stylesheet">

<script type="text/javascript" src="/resource/js/jquery-3.2.1/jquery.js"></script>
<script type="text/javascript" src="/resource/js/jquery.validate.js"></script>
<script type="text/javascript" src="/resource/js/jqueryvalidate/localization/messages_zh.js"></script>
<script type="text/javascript" src="/resource/bootstrap-4.3.1/js/bootstrap.js"></script>
<title>后台管理</title>
</head>
<body>

<nav class="navbar navbar-expand-lg navbar-light bg-light">
  		<a class="navbar-brand" href="#">Navbar</a>
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>
  <div class="collapse navbar-collapse" id="navbarNavDropdown">
    <ul class="navbar-nav">
      <li class="nav-item active">
        <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="#">Features</a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="#">Pricing</a>
      </li>
      <li class="nav-item dropdown">
        <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
          Dropdown link
        </a>
        <div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
          <a class="dropdown-item" href="#">Action</a>
          <a class="dropdown-item" href="#">Another action</a>
          <a class="dropdown-item" href="#">Something else here</a>
        </div>
      </li>
    </ul>
  </div>
</nav>

<!-- 中间区域 -->	
<div class="container-fluid" style="margin-bottom: 50px">
	<div class="row">
		<!-- 菜单 -->
		<div class="col-md-3" style="border-right: solid 1px;margin-top:20px">
			<ul class="nav flex-column">
				  <li class="nav-item">
				    <a class="nav-link " href="javascript:showWork('/admin/userlist')"  >用户管理</a>
				  </li>
				  <li class="nav-item">
				    <a class="nav-link" href="javascript:showWork('/admin/articlelist')" >文章管理</a>
				  </li>
				  <li class="nav-item">
				    <a class="nav-link" href="javascript:showWork('/admin/linklist')" >友情链接管理</a>
				  </li>
				   <li class="nav-item">
				    <a class="nav-link" href="#">轮播图管理</a>
				  </li>
				  <li class="nav-item">
				    <a class="nav-link disabled" href="#" tabindex="-1" aria-disabled="true">Disabled</a>
				  </li>
				</ul>
		</div>
		<!-- 工作区 -->
		<div class="col-md-9" id="workContent">
			
		</div>
		
	</div>
	
</div>	
	

<nav class="navbar navbar-expand-lg navbar-light bg-light fixed-bottom">
	版权所有
</nav>

<script type="text/javascript">
	function showWork(url){
		$("#workContent").load(url)
	}
</script>
</body>
</html>